/*
 * Copyright(c) 2020-2100 万达信息股份有限公司 版权所有
 * WONDERS INFORMATION CO., LTD. ALL RIGHTS RESERVED.
 */

package com.wondersgroup.sqlengine.script;

import java.util.Arrays;
import java.util.List;

/**
 * Where片段
 *
 * @author: huym
 * @date: 2021/1/22
 */
public class WhereFragment extends TrimFragment{
	
	private static List<String> prefixList = Arrays.asList("AND ","OR ","AND\n", "OR\n", "AND\r", "OR\r", "AND\t", "OR\t");

	public WhereFragment(SqlFragment contents) {
		super(contents, "WHERE", null,prefixList , null);
	}

}
